import { BaseWindow } from "../../../../component/window/BaseWindow";
import { ILayer } from "../../../../mvc/interfaces/ILayer";
import { ObjCreate } from "../../common/ObjCreate";
//class OlympicQANotDuringTimeWin
    
    export  class OlympicQANotDuringTimeWin extends BaseWindow
    {
        constructor(arg1: ILayer=null)
        {
            super(arg1);
            return;
        }

        /* internal  */initView(): void
        {
            this.setSize(300, 120);
            this.title = "非奥运答题时间";
            this.titleHeight = 27;
            ObjCreate.createGTextField("非奥运抢答时间，请与7月24日~7月30日xx点xx分来答题", 16, 40, 180, 20, this);
            var loc1=ObjCreate.createGButton("确 定", 60, 80, 50, 22, this);
            loc1.addEventListener(flash.events.MouseEvent.CLICK, this.clickOKHandler);
            return;
        }

        /* internal  */clickOKHandler(arg1: Object /* flash.events.MouseEvent */): void
        {
            super.hide();
            return;
        }
    }
